import './index.css';
import ReactDOM from 'react-dom/client';
import { BrowserRouter } from 'react-router-dom'

import ErrorBoundary from '@/components/Error-boundary';
import MyLayout from './Layout';
// import RouteElement from '@/route';

ReactDOM.createRoot(document.getElementById('root')!).render(
  <ErrorBoundary>
    <BrowserRouter>
      <MyLayout />
    </BrowserRouter>
  </ErrorBoundary>,
);
